<template>
	<view class="py-2">
		<view class="text-dark font-md font-weight-bold px-3 py-2">{{title}}</view>
		<slot></slot>
		<view class="flex align-center justify-center text-main mt-2" v-if="isShowRefresh">
			<text class="iconfont iconshuaxin"></text>
			<text class="ml-1">换一批</text>
		</view>
	</view>
</template>

<script>
	export default {
		name:"panel-card",
		props: {
			title: {
				type: String,
				default: ''
			},
			isShowRefresh:{
				type:Boolean,
				default:true
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">

</style>